package com.common.constants;

import lombok.Getter;
import lombok.Setter;

public enum CloudDiskConstant {

    RUN(1);

    private Integer code;

    CloudDiskConstant(Integer code) {
        this.code = code;
    }


    public enum FilesType {
        FILE("file", "文件"),
        DIR("dir", "文件夹");

        @Getter
        @Setter
        private String type;

        @Getter
        @Setter
        private String note;

        FilesType(String type, String note) {
            this.type = type;
            this.note = note;
        }

    }

    public enum FileVisit {
        PUBLIC_FILE("public", "公开"),
        PRIVATE_FILE("private", "私有");

        @Getter
        @Setter
        private String type;

        @Getter
        @Setter
        private String note;

        FileVisit(String type, String note) {
            this.type = type;
            this.note = note;
        }


    }
}
